package com.shop2cn.iapi.agentproducts.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;
/**
*更新商品主图Call
*FreeMaker Template自动生成代码
*/
public class UpdateProductPicCall extends YmatouBaseCall{
	private static String opurl ="open/updateProductPic";
	
	public UpdateProductPicCall() {
		super(EnvSetup.getSystemUrl("agentproducts_iapi"),opurl,"POST","JSON");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	
	 public String getCode1()
		{
		  return getString("code");
		}
	
	 public String getMessage1()
		{
		  return getString("message");
		}
}